package com.example.vo.collar;

import com.baomidou.mybatisplus.annotation.TableField;
import com.example.dto.business.PetBusinessDTO;
import com.example.pojo.Collar;
import com.example.pojo.CollarMsg;
import com.example.pojo.Pet;
import com.example.response.ApiResult;
import lombok.*;

import java.util.List;

/**
 * @author Yu Wang
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@ToString
public class CollarExploreData extends ApiResult.ApiData {
    @TableField(exist = false)
    List<Collar> collars;

    List<CollarMsg> collarMsgs;

    PetBusinessDTO pet;

    Integer railingId;

    public CollarExploreData(int railingId) {
        this.railingId = railingId;
    }


    public CollarExploreData(List<CollarMsg> historyCollarMsgs) {
        this.collarMsgs = historyCollarMsgs;
    }
}
